How to append a char StringBuffer in Java